failure 46:
Requirement failed: {tgammaf.11.01.01} Function executed successfully with EOK error code, while `(x->sign == -1) && (!isNan_Unifloat(x)) == true` means that EDOM SHALL be set
location |
trace |
/var/opt/lsb/test/olver-core/2013-01-21_10-20-40/math_gamma_scenario.utz (math_gamma_scenario.utt), line 1450 |
occurence |
scenario |
math_gamma_scenario |
specification function |
tgamma_spec() |
parameter value |
CallContext context = [pid=14280,thr=b74976c0] |
parameter value |
Unifloat * @x = (float) -Infinity |
parameter value |
Unifloat * x = (float) -Infinity |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (float) NaN |
coverage & branch |
C X IS NEGATIVE INFINITY |
properties |
REQ failed |
tgammaf.11.01.01 |
expected value |
(float) NaN |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The tgamma(x) family of functions shall compute the mathematical gamma() function of x.
According to LSB, if x is negative infinity then a domain error shall occur and error
code shall be set to EDOM.
But on the target machine, the functions set error code EOK instead of EDOM.
|
|